﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GameSchoolApplication.Models;

namespace GameSchoolApplication.Models
{
    public class UserRepository
    {
        gsDBDataContext link = new gsDBDataContext();

        public IQueryable<UserAccount> getAllUsers()
        {
            return link.UserAccounts;
        }

        public UserAccount getUserAccount()
        {
            return link.UserAccounts.First();
        }


    }
}